package com.cheetah.start.monitor.log.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * @author xjh
 * @create 2021/7/4
 **/
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "sys_log")
public class SysLog {

    @TableId(value = "log_id")
    private Long logId;

    private String title;

    private String method;

    private String businessType;

    private String requestMethod;

    private String operateName;

    private String operateAddress;

    private String requestParam;

    private String requestUrl;

    private String responseBody;

    private String success;

    private String errorMsg;

    private String description;

    private String requestBody;

    private String browser;

    private String systemOs;

    private String loggingType;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 创建的
     */
    private String createBy;

    /**
     * 更新的
     */
    private String updateBy;

    private String remark;

}
